﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using HKEA.CMS.Core.Utility;
using HKEA.CMS.Core.Models;
namespace HKEA.CMS.Core.IDAL.Tbl
{
    public interface ItblCPerson_Attribute
    {
        int InsertENT(tblCPerson_Attribute ent);

        int SaveList(List<int> AddToAttributeList, List<int> DelToAttributeList, int cpuid, string LastModifyBy);

        int InsertENT(List<int> attributeUIDList, int cpuid, string LastModifyBy);

        List<tblCPerson_Attribute> GetListByENT(tblCPerson_Attribute ent, PageParam param, string strPropertyName,string strOrderBy);

        List<tblCPerson_Attribute> GetListByENT(tblCPerson_Attribute ent);

        List<tblCPerson_Attribute> GetList(tblCPerson_Attribute ent, List<int> withOutList);

        int GetCountByENT(tblCPerson_Attribute ent);

        int UpdateENT(tblCPerson_Attribute ent);

        int DeleteENT(tblCPerson_Attribute ent);

        bool IsExist(tblCPerson_Attribute ent);
        
    }
}
